package com.example.loop.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.loop.entity.Permission;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author Liaorun
 */
@Mapper
public interface PermissionMapper extends BaseMapper<Permission> {

    List<String> findByRoleId(@Param("roleIds") List<Integer> roleIds);
}
